package com.tiger.novelcrazyper;

import com.tiger.novelcrazyper.base.BaseActivity;
import com.tiger.novelcrazyper.base.CommonUtil;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends BaseActivity {
	private Button startRead;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main);
       
        CommonUtil.setAdView(this, this);
        initView();
    }
    public void initView(){
    	startRead=(Button)this.findViewById(R.id.startread);
    	startRead.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				MainActivity.this.startActivity(new Intent(MainActivity.this,ReadActivity.class));
			}
    	});
    }
}